﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MSAcademic.v2.Infrastructure.SubSection
{
    public interface ISubSectionCommand
    {
        void Create(string name, int ContenSectionId, string thumbnailUrl);
        void Edit(int id, string name, string thumbnailUrl);

        /// <summary>
        /// Hide a SubSection and return the Id of it's ContentSections
        /// /// </summary>
        /// <param name="id">The Id of the SubSection</param>
        /// <returns>The Id of the SubSection's ContentSection</returns>
        int Delete(int id);
    }
}
